<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>TCR</title>
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />

</head>
<body>

<div id="container">
<div id="header">
<div class="intro">
<h1><a href="/">TCR</a></h1>
<div class="description">Tudou Coverage Report System</div>
</div>
<div class="nav">
<ul class="clearfix">
	<li><s:a action="">首页</s:a></li>
	<li><s:a action="addprojform">新建项目</s:a></li>
	<li><s:a action="projmgt">项目管理</s:a></li>
	<li><s:a action="adduserform">新建用户</s:a></li>
	<li><s:a action="usermgt">用户管理</s:a></li>
</ul>
<div class="login"><span class="name">管理员</span> |<s:a
	action="logout">注销</s:a></div>
</div>
</div>

<div id="content">
<h3 class="title">新建项目</h3>
<s:form cssClass="form-user" action="addproj" method="post">
	<s:fielderror></s:fielderror>
	<table>
		<tbody>
			<tr>
				<td>
				<p><s:textfield name="p_name" label="项目名称" cssClass="f-text"></s:textfield></p>
				</td>
				<td class="hint">项目的名称</td>
			</tr>
			<tr>
				<td>
				<p><s:textfield name="p_svn" label="项目SVN地址" cssClass="f-text" size="100"></s:textfield></p>
				</td>
				<td class="hint">项目SVN的地址</td>
			</tr>
			<tr>
				<td><s:select label="语言" name="p_code" headerKey="-1"
					headerValue="选择语言" list="#{0:'C', 1:'Java',2:'Python'}" value="2"
					required="true" /></td>
				<td class="hint">项目的主要的编码语言</td>
			</tr>
			<tr>
				<td></td>
				<td><s:submit value="创建" align="right" cssClass="f-submit" /></td>
			</tr>
		</tbody>
	</table>

</s:form></div>
</div>
</body>

</html>